Skip to content

Conversation

@adam-christian-software
Copy link
Contributor

Context

This change fixes #3021 by creating the Spark 4 client. Most of the changes are just simply copying and pasting what already exists.

I will carve out the overlapping business logic into a separate module later.

Test

Move over the same testing framework with what exists in the 3.5 plugin. In addition, I tested E2E with Parquet.

Checklist

  • 🛡️ Don't disclose security issues! (contact [email protected])
  • 🔗 Clearly explained why the changes are needed, or linked related issues: Fixes #
  • 🧪 Added/updated tests with good coverage, or manually tested (and explained how)
  • 💡 Added comments for complex logic
  • 🧾 Updated CHANGELOG.md (if needed)
  • [BLOCKED] 📚 Updated documentation in site/content/in-dev/unreleased (if needed). I need the updates in test: Add Some Spark Client Tests and Update Documentation on Generic Tables #3000 first.

@adam-christian-software
Copy link
Contributor Author

Hey, @flyrain & @gh-yzou, can y'all take a look at this? This is a fairly naive implementation to be able to help our user trying to use Spark 4 with Delta tables.

Copy link
Member

@snazy snazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't reviewed the change in-depth, but I realize that this adds another quarkus-build to the project. Quarkus builds are not cheap (think: quick).
It would be much more efficient for both local builds/checks and CI duration to remove the quarkus builds from these plugins entirely.
This PR is meant to allow such usages by providing the URLs to a running Polaris/Quarkus instance to the tests, meaning that those tests work against a "real" Polaris instance.

@adam-christian-software
Copy link
Contributor Author

@snazy - Good point about yet another Quarkus build! Given that this is an incremental move forward to support Spark 4. I would recommend that we merge this and, then, move to the Apprunner approach. Is that OK or do you want me to wait for the Apprunner?

The reason that I ask is it'll allow us to be incrementally better and adjust as we go.

@github-project-automation github-project-automation bot moved this from PRs In Progress to Done in Basic Kanban Board Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Spark 4 client

2 participants